package com.mall.pay.dal.entitys;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author xudengfeng
 * @date 2020/12/21 20:35
 */

@Table(name = "tb_payment")
@Data
public class Payment {

    @Id
    Integer id;

    String status;

    String orderId;

    String productName;

    String payNo;

    String tradeNo;

    Integer payerUid;

    String payerName;

    BigDecimal payerAmount;

    BigDecimal orderAmount;

    String payWay;

    Date paySuccessTime;

    Date completeTime;

    String remark;

    Date createTime;

    Date updateTime = new Date();
}
